package c_control;

public class Star {

	public void s1(){
		int i,j,k;
		for(i=1 ; i<=5 ; i++){
			for(j=1 ; j<7-i ; j++){
				System.out.print(" ");
			}
			for(k=1; k<=i ; k++){
				System.out.print("*");
			}
			System.out.println("");
		}
	
	}
	
	public static void main(String[] args) {
		Star s = new Star();
		s.s1();

	}

}


